﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="witness.aspx.cs" Inherits="witness" %>

<%@ Register Src="UserControl/Witness.ascx" TagName="Witness" TagPrefix="Left" %>
<%@ Register Assembly="aspnetpager" Namespace="Wuqi.Webdiyer" TagPrefix="Webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="In-Table-DownLine">
    <div id="AllTitie-Table"><img width="200" height="81" src="image/title04.png" /></div>
    <left:Witness ID="leftWitness" runat="server" />    
    <div id="Show-Table">
      <h1 class="All-Stitle-H1">見證分享<asp:Literal ID="ltlTitle1" runat="server"></asp:Literal><span class="Pon">首頁&gt;見證分享<asp:Literal ID="ltlTitle2" runat="server"></asp:Literal></span></h1>
      <ul class="Service-Select-UL">
        <div id="Service-Div">
            <asp:Literal ID="ltlType" runat="server"></asp:Literal>
        </div>
      </ul>
      <div id="Team-Table">
        <asp:Repeater ID="RepeaterWitness" runat="server" onitemdatabound="RepeaterWitness_ItemDataBound">
              <ItemTemplate>
                <div class="wtness-Table">
          <table border="0" cellpadding="0" cellspacing="0" class="wtness-Stable">
            <tr>
              <td><a href="witness_in.aspx?id=<%# Eval("PostId") %>"><img src="upload/<%# Eval("PicFileName")%>" width="154" height="154" class="wtness-PP" /></a></td>
              <td valign="top">
                <p class="Team-txt1">【<asp:Literal ID="ltlNodeName" runat="server"></asp:Literal>】</p>
                <div class="wtness-Stitle"><%# Eval("Title")%></div>
              <div class="wtness-stitle2">見證心得</div>
              <div class="wtness-sob"><%# Eval("CustomField1")%></div></td>
            </tr>
          </table>
        </div> 
              </ItemTemplate>
          </asp:Repeater>                        
      </div>
        <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <div class="NumberPage">
                <Webdiyer:AspNetPager ID="AspNetPager1" runat="server" Height="28px"
                    OnPageChanged="AspNetPager1_PageChanged" PageIndexBoxType="TextBox" PageSize="10"
                    ShowPageIndexBox="Never" ShowFirstLast="false" 
                    PrevPageText="<div style='float:left;'><img src='image/btn04.png' width='66' height='28' /></div>" 
                    NextPageText="<div style='float:right;'><img src='image/btn05.png' width='66' height='28' /></div>"
                    NumericButtonTextFormatString="<span class='PageNum'>{0}</span><span class='PageNum'> | </span>" />
                </div>    
            </td>
        </tr>
        </table>                
    </div>
  </div>
</asp:Content>

